package com.yw.common.core.db.dao;

import java.util.List;
import java.util.Set;

import com.yw.common.core.db.dao.entity.IPo;

/**
 * 数据库查询接口
 * @author aoshiguchen
 * @time 2015-11-30
 */

public interface IRetrieve{
	public List<IPo> findAll();
	public IPo findById(String id);
	public IPo findSingle(String id);
	public IPo findSingle(IPo po);
	public IPo findSingle(IPo po,Set<String> filterField);
	public List<IPo> findMulti(IPo po);
	public List<IPo> findMulti(IPo po,Set<String> filterField);
}
